/* 重置 */
*{margin:0;padding:0;}
/*清除浮动代码*/
.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
.lf {
  float: left;
}
.rf {
  float: right;
}

/* 页面样式代码 */
body {
  padding: 10px;
}
.login {
  margin-bottom: 10px;
}
.container {
  display: flex;
}
.chat {
  flex: 1;
}
.video {
  flex: 1;
}
.row01 {
  display: flex;
  border: 1px solid #ccc;
}
.user-list {
  width: 150px;
  border-right: 1px solid #ccc;
  min-height: 200px;
  min-height: 400px;
  padding: 10px;
  line-height: 30px;
  overflow-y:auto;
  overflow-x:hidden;
}
.user-list li {
  cursor: pointer;
}
.chat-box {
  flex: 1;
  min-height: 200px;
  min-height: 400px;
  overflow-y:auto;
  overflow-x:hidden;
}

/* The video panel */
.camera-box {
  display:block;
  height: 100%;
  position:relative;
}
/* The main incoming video box */
.received-video {
  border: 1px solid black;
  box-shadow: 2px 2px 3px black;
  width: 480px;
  height: 360px;
  left:10px;
  position:absolute;
}
/* The small "preview" view of your camera */
.local-video {
  width: 120px;
  height: 90px;
  position: absolute;
  top: 10px;
  left: 20px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 4px black;
}

/* The "Hang up" button */
#hangup-button {
  display:block;
  width:80px;
  height:24px;
  border-radius: 8px;
  position:relative;
  margin:auto;
  top:324px;
  background-color: rgba(150, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-family: "Lucida Grande", "Arial", sans-serif;
  color: rgba(255, 255, 255, 1.0);
  cursor: pointer;
}

#hangup-button:hover {
  filter: brightness(150%);
  -webkit-filter: brightness(150%);
}

#hangup-button:disabled {
  filter: grayscale(50%);
  -webkit-filter: grayscale(50%);
  cursor: default;
}

.flexChild {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
}

#empty-container {
 -webkit-box-flex: 0;
 -webkit-flex: 0 0 auto;
 -ms-flex: 0 0 auto;
 flex: 0 0 auto; width: 120px;
}
